/*
 * Copyright (c) 2023-2299 深圳市阿毛科技有限公司 All rights reserved.
 *
 * https://www.lamyz.com/
 *
 * 未经允许，不可做商业用途！
 *
 * 版权所有，侵权必究！
 */

package com.lam.mall.app.vo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

import lombok.Data;

/**
 * 单个店铺的订单信息
 */
@Data
public class ShopCartOrderVo implements Serializable{

	private static final long serialVersionUID = 1L;

	//@Schema(description = "店铺id" , required = true)
    private String shopId;

    //@Schema(description = "店铺名称" , required = true)
    private String shopName;

    //@Schema(description = "实际总值" , required = true)
    private BigDecimal actualTotal;

    //@Schema(description = "商品总值" , required = true)
    private BigDecimal total;

    //@Schema(description = "商品总数" , required = true)
    private Integer totalCount;

    //@Schema(description = "运费" , required = true)
    private BigDecimal transfee;

    //@Schema(description = "促销活动优惠金额" , required = true)
    private BigDecimal discountReduce;

    //@Schema(description = "优惠券优惠金额" , required = true)
    private BigDecimal couponReduce;

    //@Schema(description = "店铺优惠金额(促销活动 + 优惠券 + 其他)" , required = true)
    private BigDecimal shopReduce = BigDecimal.ZERO;

    //@Schema(description = "订单备注信息" , required = true)
    private String remarks;

    //@Schema(description = "购物车商品" , required = true)
    private List<ShopCartItemDiscountVo> shopCartItemDiscounts;

    //@Schema(description = "整个店铺可以使用的优惠券列表" , required = true)
    private List<CouponOrderVo> coupons;

    //@Schema(description = "订单编号" , required = true)
    private String orderNumber;
}
